<form action="{uri args="acp/categories/adm_list/action_delete"}" method="post" id="categories">
	<div id="adm-list">
		<a href="{uri args="acp/categories/create"}" title="{lang values="categories|create"}"><img src="{icon path="32/create_category"}" alt="{lang values="categories|create"}" /></a>
		<a href="javascript:$('#categories').submit()" title="{lang values="common|delete_marked"}"><img src="{icon path="32/delete"}" alt="{lang values="common|delete_marked"}" /></a>
		<h2>{lang values="categories|categories_overview"}</h2>
	</div>
	<hr />
{if $categories}
{$pagination}
	<table>
		<thead>
			<tr>
				<th>{lang values="common|mark"}</th>
				<th>{lang values="common|name"}</th>
				<th>{lang values="common|description"}</th>
				<th>{lang values="categories|module"}</th>
			</tr>
		</thead>
		<tbody>
{foreach from=$categories item=row}
			<tr>
				<td><input type="checkbox" name="entries[]" value="{$row.id}" /></td>
				<td><a href="{uri args="acp/categories/edit/id_`$row.id`"}" title="{lang values="categories|edit"}">{$row.name}</a></td>
				<td>{$row.description}</td>
				<td>{$row.module}</td>
			</tr>
{/foreach}
		</tbody>
	</table>
	<div class="mark-entries">
		<a href="javascript:mark_entries('entries',true)">{lang values="common|mark_all"}</a> <span>::</span> <a href="javascript:mark_entries('entries',false)">{lang values="common|unmark_all"}</a>
	</div>
{else}
	<div class="error">
		<h5>{lang values="common|entries"}</h5>
	</div>
{/if}
</form>